package com.happy016.aop;


/**
 * 阅读Spring-aop源码,Advisor相关
 *
 * @author Linyb
 * @since 2017/11/8 17:14
 */
public class Advisor_ {

    //Advisor(通知器):把切面增强(Advice)和关注点的设计(PointCut)结合起来,结合起来的目的是为IOC容器配置AOP应用

    /*
     *  public class DefaultPointcutAdvisor extends AbstractGenericPointcutAdvisor implements Serializable {

            private Pointcut pointcut = Pointcut.TRUE;

            .....
        }

        父类AbstractGenericPointcutAdvisor里面定义了Advice属性
        public abstract class AbstractGenericPointcutAdvisor extends AbstractPointcutAdvisor {

	        private Advice advice = EMPTY_ADVICE;
	        ...
        }

        可以看出 Advisor就是定义了Advice和PointCut属性,通过这两个属性,配置了Advice跟PointCut

        为后面具体AOP的实现,提供支持.
     */
}
